﻿// SMIL is a community project available under the Microsoft Public License (Ms-PL)
// Code is provided as is and with no warrenty – Use at your own risk
// View the project and the latest code at http://smil.codeplex.com/



using System;
using System.ServiceModel;
using System.Runtime.Serialization;
using System.Collections.Generic;
using System.Collections;

namespace SMIL.Server.SPGeoRssCommonTypes
{
    [DataContract]
    public class LayersRequest
    {

        [DataMember]
        public string SiteUrl { get; set; }
    }

    [DataContract]
    public class LayersResponse
    {
        [DataMember]
        public List<LayerResponseObj> Layers { get; set; }
    }

    public class LayerResponseObj 
    {
        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public string Path { get; set; }

        [DataMember]
        public string Type { get; set; }

        [DataMember]
        public string Description { get; set; }

        [DataMember]
        public string[] ViewNames { get; set; }

    }
}
